#ifndef AFX_QQNRealStreamTcp_H__INCLUDED_
#define AFX_QQNRealStreamTcp_H__INCLUDED_

#include "RealStreamItem.h"
#include "NetRecv.h"

class RealStreamTcp : public CRealStreamItem, public CNetRecv
{
public:
	RealStreamTcp(void);
	~RealStreamTcp(void);

public:
	virtual int vStartRealStream(TG_REALSTREAM_INFO *pRealStreamInfo);
	virtual int vStopRealStream();

public:
	virtual int vReStartRealStream();

public:
	virtual int vTranslateRecv();
	virtual int vSendBuffer(char *pBuffer,int nLen);

private:
	int RecvNetPacket(NET_PACKET *pPacket);
	
};
#endif